//
//  WKHomeHttpTool.h
//  WKDemo
//
//  Created by apple on 14-8-1.
//  Copyright (c) 2014年 com.app. All rights reserved.
//首页数据请求网络工具类

#import <Foundation/Foundation.h>
@class WKHomeResult,WKHomeParam,WKCommentResult;
@interface WKHomeHttpTool : NSObject

//精华的请求
//获取首页默认列表也是下拉获取最新数据
+ (void)getEliteNewDataListWithParam:(WKHomeParam *)param success:(void (^)(WKHomeResult *result))success failure:(void (^)(NSError *error))failure;
//上拉加载数据
+ (void)getEliteMoreDataListWithParam:(WKHomeParam *)param success:(void (^)(WKHomeResult *result))success failure:(void (^)(NSError *error))failure;

//最新的请求
//获取首页默认列表也是下拉获取最新数据
+ (void)getNewestNewDataListWithParam:(WKHomeParam *)param success:(void (^)(WKHomeResult *result))success failure:(void (^)(NSError *error))failure;
//上拉加载数据
+ (void)getNewestMoreDataListWithParam:(WKHomeParam *)param success:(void (^)(WKHomeResult *result))success failure:(void (^)(NSError *error))failure;


//穿越的请求
//获取首页默认列表也是下拉获取最新数据
+ (void)getThrougNewDataListWithParam:(WKHomeParam *)param success:(void (^)(WKHomeResult *result))success failure:(void (^)(NSError *error))failure;
//上拉加载数据
+ (void)getThrougMoreDataListWithParam:(WKHomeParam *)param success:(void (^)(WKHomeResult *result))success failure:(void (^)(NSError *error))failure;

//获取评论
+ (void)getCommentDataListWithParam:(WKHomeParam *)param success:(void (^)(WKHomeResult *result))success failure:(void (^)(NSError *error))failure;
//点赞
+ (void)sendClickLoveWithParam:(WKHomeParam *)param;
//点菜
+ (void)sendClickCaiWithParam:(WKHomeParam *)param;
@end
